package com.phiture.erp.produce.dal.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ErpBomDTO {

    private Long fid;

    @Schema(description = "编码")
    private String fnumber;

    @Schema(description = "物料编码")
    private String fbarcode;

    @Schema(description = "物料名称", example = "31761")
    private String fmaterialname;

    @Schema(description = "bom名称", example = "张三")
    private String fname;

    @Schema(description = "父物料规格型号")
    private String fmodel;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "业务日期")
    private LocalDateTime fbizdate;

    @Schema(description = "描述", example = "你说的对")
    private String fdescription;

    @Schema(description = "单据状态", example = "1")
    private Long fbasestatus;

    @Schema(description = "计量单位", example = "27157")
    private Long funitid;

    @Schema(description = "基本计量单位", example = "7153")
    private String fbaseunitid;

    private String funitname;

    @Schema(description = "生产基本数量")
    private BigDecimal fproductqty;

    @Schema(description = "bom用途", example = "2")
    private Integer fusagetype;

    private String fusagetypename;

    @Schema(description = "物料", example = "31761")
    private Long fmaterialid;

    @Schema(description = "物料计划资料", example = "13802")
    private String fmaterialplanid;

    @Schema(description = "bom组", example = "24031")
    private Long fbomgroupid;

    private String fbomgroupname;

    @Schema(description = "工程图号")
    private String fpicturenumber;

    private Long parentidBomGroup;

}
